<?php
/* @var $this LocationController */
/* @var $model Location */

$this->widget('bootstrap.widgets.TbBreadcrumbs',array(
	'links'=>array(
		'Locations'=>array('admin'),
		$model->name=>array('viewAdmin','id'=>$model->id),
		'Update'
	),
));

$this->menu=array(
	array('label'=>'Operations'),
	array('label'=>'Create Location', 'icon'=>'star', 'url'=>array('create')),
	array('label'=>'View Location', 'icon'=>'eye-open', 'url'=>array('viewAdmin', 'id'=>$model->id)),
	array('label'=>'Update Location', 'icon'=>'pencil', 'url'=>'#', 'active'=>true),
	array('label'=>'Delete Location', 'icon'=>'trash', 'url'=>'#', 'disabled'=>true),
	array('label'=>'Manage Locations', 'icon'=>'cog', 'url'=>array('admin')),
	array('label'=>'List Locations', 'icon'=>'th-list', 'url'=>array('index')),
);
?>

<div class="row">
	<div class="span9">
		<div style="padding: 10px;">
<h2>Update Location - <?php echo $model->name; ?></h2>

<?php echo $this->renderPartial('_form',array('model'=>$model)); ?>
		</div>
	</div>
	<div class="span3">
	<?php
		$this->beginWidget('zii.widgets.CPortlet', array(
			'title'=>'Administration',
		));
		$this->widget('bootstrap.widgets.TbMenu',array(
			'type'=>'list',
			'items'=>$this->menu,
		));
		$this->endWidget();
	?>
	</div>
</div>
